package com.example.demo.controller;

import org.springframework.web.bind.annotation.*;

/*
 post 提交  json 数据
 */
@RestController
public class JsonController {
    @RequestMapping(value = "/json",method = RequestMethod.POST)
    public String index(@RequestBody String json)
    {
        return  json;
    }
}